<template>
  <el-container class="supply">
    <el-header style="height: auto">
      <el-date-picker
        v-model="value6"
        type="daterange"
        range-separator="-"
        start-placeholder="开始日期"
        end-placeholder="结束日期">
      </el-date-picker>
      <el-button type="primary" >搜索</el-button>
      <el-button type="success" >退库申请</el-button>
    </el-header>
    <el-main>
      <!--tab-->

      <!--<tbcom ref="tbcom"></tbcom>-->
        <el-row style="width:100%;">
          <el-col :span="24">
            <el-tabs v-model="activeName" @tab-click="handleClick">
              <el-tab-pane label="退库记录" name="first">
                <tbcom ref="tbcom"></tbcom>
              </el-tab-pane>
            </el-tabs>
          </el-col>
        </el-row>
    </el-main>

  </el-container>
</template>



<script>

  import {fetchGet, createOne, deleteOne, deletePost, getOne, rolesAll, updateOneNoId} from '@/api/common'
  import {disableBtn, df, $err, $suc, ERRS, SUCS} from '@/utils'
  import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
  import tbcom from './comp/outabComp'
  import addOutgoing from './comp/addOutgoing'
  export default {
    name: "partsCheck",

    components: {
      tbcom,
      addOutgoing
    },
    computed: {},
    mounted() {
    },
    data() {
      return {
        //分页搜索
        total: 0,
        listQuery: {
          page: 1,
          size: 10,
          searchText: ''
        },

        listLoading: false,
        list: [],     //内容
        value6: '',
        activeName: 'first'


      }

    },
    method: {

      handleClick(tab, event) {
        console.log(tab, event);
      },
      dhpc(row) {
        console.log(row);
      },
      handleCreate(){

      },
    }
  }

</script>

<style scoped>
</style>
